package cn.xuexiluxian.open.system.mapper;

import cn.xuexiluxian.open.system.model.entity.SystemArea;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * SysAreaMapper继承基类
 */
public interface SystemAreaMapper extends BaseMapper<SystemArea> {
    @Select("select * from system_area where parent_id = #{parentId} order by sort asc")
    List<SystemArea> selectListByParentId(Integer parentId);
}